#include<iostream>
#include<cstdio>

using namespace std;

int main()
{
    string name;
    double tol, x, e;
    cin >> name >> x >> e;
    tol = x + e * 0.15;
    cout << "TOTAL = R$ ";
    printf("%.2lf\n", tol);
    return 0;
}